package com.xhsj.user.hr.process.hrBecomeRegular.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author: liuqinghua
 * @Description:获取用户要转正申请得数据
 * @Data:2020/9/10
 */
@Data
public class BecomeRegularDataQuery {
    /**
     * 用户id
     */
    protected Long userId;

    /**
     * 姓名
     */
    private String fullName;

    /**
     * 部门id 外键 tb_global_organization表id
     */
    private Long departmentId;

    /**
     * 职位id 外键 tb_global_organization表id
     */
    private Long positionId;
    /**
     * 工作年限
     */
    private String yearsWorking;

    /**
     * 身份证号
     */
    private String idCard;

    /**
     * 最高学历
     */
    private String highestEducation;

    /**
   * 入职日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date arrivalDate;

    /**
     * 计划转正日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date positiveDate;
}
